<div id="new-release">
<% form_for :release, :url => { :action => :create } do |form| %>
  <%= error_messages_for :release %>

  <%= form.label :title %><br />
  <%= form.text_field :title %><br />
  <%= form.label :release_type %><br />
  <%= form.select :release_type, Release::RELEASE_TYPES, :include_blank => true %><br />
  <%= form.select :status, Edition::EDITION_STATUSES, :include_blank => true %>
  <% if params[:a_id] %>
    <%= form.hidden_field :artist_id, :value => params[:a_id] %>
  <% end %>

  <%= form.submit "Create" %>
<% end %>

</div>
